package com.whq.thrift.api.web.admin.service.requestlog;

import java.util.List;
import java.util.Map;

import com.whq.thrift.api.web.admin.db.requestlog.RequestLog;

public interface RequestLogService {

	public List<RequestLog> findRecordsByMap(Map<String, Object> whereParams, int beginIndex, int maxCount);

	public int findRecordCount(Map<String, Object> whereParams);

	public RequestLog findRecordById(String id, String time);

	public List<RequestLog> statByMethodCode(Map<String, Object> whereParams);

	public List<RequestLog> statByCode(Map<String, Object> whereParams);

	public List<RequestLog> queryGateWayCostTimeCountData(Map<String, Object> whereParams);

	public void replaceStatDateApiData(int tableSeq, String statDay, String startTime, String endTime);

	public void replaceStatHourApiData(int tableSeq, String statDay, String startTime, String endTime, int statHour);

//	public void replaceStatDatePhoneData(int tableSeq, String statDay, String startTime, String endTime);

	public void delDataApiData(String thresholdTime);

	public void delHourApiData(String thresholdTime);

//	public void delDatePhoneData(String thresholdTime);

}
